package com.aaa.hospital.ManagementEnd.service;

import com.aaa.hospital.Client.pojo.Visitingcard;
import com.aaa.hospital.ManagementEnd.pojo.User;
import com.aaa.hospital.ManagementEnd.util.PayDB;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserServices {
    List<User> queryAll();
    User    user_ById(Integer uid);
    Boolean  user_insert(User user);
    Boolean  user_del(Integer uid);
    Boolean  user_update(User user);

    //通过身份证号获取uid
    User    user_Byidcard(String idcard);
    ////
    User  user_phone(String phone);
    boolean user_add(User user); //注册添加



    List<User>  limitAll(Integer uid,String uname);
    //cyx
    Boolean insertCard(User user);
    Visitingcard queryByIdCard(String uname, String idcard);
    Integer queryUid(String uname,String idcard);
    List<PayDB> selectAll();
    List<PayDB> queryByIdCardVisid(Integer visid,String idcard);
    User queryUserAll(Integer visid);
}
